package cn.yi.medicalsys.dao;

import java.util.List;

import cn.yi.medicalsys.pojo.User;

public interface UserDao {
	/**
	 * 通过编号查询用户
	 * @param userno
	 * @return
	 */
	public User findUserByNo(Integer userno) throws Exception;
	/**
	 * 根据用户编号uid来查询用户姓名和性别
	 * @param uid
	 * @return
	 * @throws Exception
	 */
	public List<User> findUserByUid(Integer uid) throws Exception;
}
